<thead>
	<th><input type="checkbox" id="checkAll" /></th>
	<th>STT</th>
    <th>Nhóm quyền</th>
    <th>Phân quyền</th>
    <th>Sữa</th>
    <th>Xoá</th>
    <th></th>
</thead>
<tbody>
	<?php $i=1; 
	foreach($datas as $item){
	
		?>
        <tr>
        	<td class="tcenter"><input name="keys[]" type="checkbox" id="<?=$item->id;?>"/></td>
            <td style="text-align:center !important;" class="tcenter"><?=$i;?></td>
            <td class="groupname" ><?=$item->groupname;?></td>
            <td class="rights"  id="<?=$item->id;?>" ><span class="icon icon-right fleft w20 h20 mleft30"></span></td>
            <td class="tcenter pleft15 sedits" id="<?=$item->id;?>">
            	 <span class="edit icon icon-edit w20 h20 dblock fleft" id="<?=$item->id;?>"></span>
            </td>
            <td class="tcenter pleft15">
                <span class="delete icon icon-delete w20 h20 dblock fleft" id="<?=$item->id;?>"></span>
            </td>
            <td></td>
        </tr>
    <?php $i++;}?>
</tbody>